Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove BLS signatures aggregate #540

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Remove BLS signatures aggregate #540

merged 3 commits into from
Sep 25, 2024

Conversation

K1li4nL
Copy link
Contributor

@K1li4nL K1li4nL commented Aug 16, 2024

As the BLS signature aggregate scheme is vulnerable to rogue public-key attack, this pr removes the "aggregate" part of the code and use BDN where BLS aggregates were used.

@K1li4nL K1li4nL marked this pull request as draft August 16, 2024 13:25
@K1li4nL K1li4nL force-pushed the clean-up-bls branch 3 times, most recently from 0b262c6 to fbbb53b Compare August 19, 2024 06:51
@K1li4nL K1li4nL marked this pull request as ready for review August 19, 2024 07:01
Copy link
Contributor

@pierluca pierluca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overalls LGTM, but this could benefit from @AnomalRoil 's review.

pairing/bls12381/bls12381_test.go Outdated Show resolved Hide resolved
@K1li4nL K1li4nL marked this pull request as draft September 2, 2024 09:09
@K1li4nL
Copy link
Contributor Author

K1li4nL commented Sep 2, 2024

Turning this back into draft, I didn't properly ran the benchmarks... It seems that our bdn implementation assumes kyber.Scalar to be mod.Int, making it incompatible to use with circl_bls12381

sign/bls/bls.go Outdated Show resolved Hide resolved
sign/bls/bls.go Outdated Show resolved Hide resolved
sign/bdn/bdn.go Outdated Show resolved Hide resolved
sign/bdn/bdn.go Outdated Show resolved Hide resolved
sign/bdn/bdn.go Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Sep 25, 2024

@AnomalRoil AnomalRoil merged commit fe452f2 into master Sep 25, 2024
11 checks passed
@AnomalRoil AnomalRoil deleted the clean-up-bls branch September 25, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants